.class Lcom/opongo/blogapp/activities/CommentsListActivity$2;
.super Landroid/content/BroadcastReceiver;
.source "CommentsListActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/opongo/blogapp/activities/CommentsListActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/opongo/blogapp/activities/CommentsListActivity;


# direct methods
.method constructor <init>(Lcom/opongo/blogapp/activities/CommentsListActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/opongo/blogapp/activities/CommentsListActivity$2;->this$0:Lcom/opongo/blogapp/activities/CommentsListActivity;

    .line 104
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 5
    .parameter "c"
    .parameter "i"

    .prologue
    .line 108
    new-instance v0, Landroid/content/Intent;

    iget-object v3, p0, Lcom/opongo/blogapp/activities/CommentsListActivity$2;->this$0:Lcom/opongo/blogapp/activities/CommentsListActivity;

    .line 109
    const-class v4, Lcom/opongo/blogapp/activities/CommentAddActivity;

    .line 108
    invoke-direct {v0, v3, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 110
    .local v0, intent:Landroid/content/Intent;
    const-string v3, "POSTID"

    invoke-virtual {p2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v2

    .line 111
    .local v2, post_id:I
    const-string v3, "PARENTID"

    invoke-virtual {p2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v1

    .line 112
    .local v1, parent_id:I
    const-string v3, "POSTID"

    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 113
    const-string v3, "PARENTID"

    invoke-virtual {v0, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 114
    iget-object v3, p0, Lcom/opongo/blogapp/activities/CommentsListActivity$2;->this$0:Lcom/opongo/blogapp/activities/CommentsListActivity;

    invoke-virtual {v3, v0}, Lcom/opongo/blogapp/activities/CommentsListActivity;->startActivity(Landroid/content/Intent;)V

    .line 115
    return-void
.end method
